package com.zs.propertymanage.dataObj;

import lombok.Data;

// 通用实体类，用于封装只有id和name的实体
@Data
public class GeneralExtra {
    private Integer id;
    private String name;
    private String value;
    private String label;

    public GeneralExtra() {
    }

    public GeneralExtra(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public GeneralExtra(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public GeneralExtra(Integer id, String name, String value, String label) {
        this.id = id;
        this.name = name;
        this.value = value;
        this.label = label;
    }

}
